home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 25 / CU Amiga Magazine's Super CD-ROM 25 (1998)(EMAP Images)(GB)(Track 1 of 2)[!][issue 1998-08].iso / CUCD / Programming / GMS / GMSDev / Includes / clib / screens_protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-04-27  |  1.9 KB  |  57 lines

  1. #ifndef  CLIB_SCREENS_PROTOS_H
  2. #define  CLIB_SCREENS_PROTOS_H
  3.  
  4. /*
  5. **   $VER: screens_protos.h V1.0
  6. **
  7. **   C prototypes.
  8. **
  9. **   (C) Copyright 1996-1998 DreamWorld Productions.
  10. **       All Rights Reserved.
  11. */
  12.  
  13. #ifndef  SYSTEM_TYPES_H
  14. #include <system/types.h>
  15. #endif
  16.  
  17. APTR AllocVideoMem(LONG Size, LONG Flags);
  18. void AutoSwitch(void);
  19. void BlankOn(void);
  20. void BlankOff(void);
  21. void FreeVideoMem(APTR MemBlock);
  22. void ReadySwitch(struct GScreen *);
  23. void RefreshScreen(struct GScreen *);
  24. struct GScreen * ReturnDisplay(void);
  25. void SetBmpOffsets(struct GScreen *, WORD BmpXOffset, WORD BmpYOffset);
  26. void SetScrDimensions(struct GScreen *, WORD Width, WORD Height);
  27. void SetScrOffsets(struct GScreen *, WORD ScrXOffset, WORD ScrYOffset);
  28. void SwapBuffers(struct GScreen *);
  29. void Switch(void);
  30. LONG TakeDisplay(struct GScreen *);
  31. void UpdateColour(struct GScreen *, LONG Colour, LONG Value);
  32. LONG WaitVBL(void);
  33. LONG WaitAVBL(void);
  34. LONG WaitRastLine(struct GScreen *, WORD LinePosition);
  35. LONG WaitSwitch(struct GScreen *);
  36.  
  37. /* Palette functions */
  38.  
  39. void UpdatePalette(struct GScreen *);
  40. void ChangeColours(struct GScreen *, LONG *Colours, WORD StartColour, WORD AmtColours);
  41. WORD ColourMorph(struct GScreen *, WORD FadeState, WORD Speed,
  42.        LONG StartColour, LONG AmtColours, LONG SrcColour, LONG DestColour);
  43. WORD ColourToPalette(struct GScreen *, WORD FadeState, WORD Speed,
  44.        LONG StartColour, LONG AmtColours, APTR Palette, LONG RRGGBB);
  45. WORD PaletteMorph(struct GScreen *, WORD FadeState, WORD Speed,
  46.        LONG StartColour, LONG AmtColours, APTR SrcPalette, APTR DestPalette);
  47. WORD PaletteToColour(struct GScreen *, WORD FadeState, WORD Speed,
  48.        LONG StartColour, LONG AmtColours, APTR Palette, LONG RRGGBB);
  49. void BlankColours(struct GScreen *);
  50.  
  51. void prvMoveBitmap(struct GScreen *);
  52. void prvRemakeScreen(struct GScreen *);
  53. void prvSwitchScreen(void);
  54.  
  55. #endif /* CLIB_SCREENS_PROTOS_H */
  56.  
  57.